﻿@model IEnumerable<SanQiOther.Models.v_dict_Dormitory_Detail>
@{
    ViewBag.Title = "宿舍信息";
    ViewBag.pageHeader = "辅助功能";
    ViewBag.pageDes = "宿舍信息";
}

<table id="roleList2" class="table table-bordered table-striped">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Userbh)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.name)
            </th>

            <th>
                @Html.DisplayNameFor(model => model.rzrq)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.lzrq)
            </th>

            <th>
                @Html.DisplayNameFor(model => model.IsUsing)
            </th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.id)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Userbh)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.name)
                </td>
                @*<td>
                        @Html.Raw(PubClass.GetLsg(item.isls.ToString())) @Html.DisplayFor(modelItem => item.name)
                    </td>*@
                <td>
                    @Html.DisplayFor(modelItem => item.rzrq)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.lzrq)
                </td>
                <td>
                    @Html.Raw(PubClass.GetRzZt(item.IsUsing.ToString()))
                </td>
            </tr>
        }
    </tbody>
</table>


